#pragma once
#ifndef CTEXT_H_
#define CTEXT_H_

class CText{
public:
	LPD3DXFONT font;
	D3DXMATRIX trans;
	UINT height;
	CText(LPDIRECT3DDEVICE9 _device, LPCSTR _font, int _size, bool _bold, bool _italic);
	~CText();

	void Draw(LPCSTR _string, float _x, float _y, D3DCOLOR _color);
	void Draw(LPCSTR _string, float _x, float _y, float _width, float _height, D3DCOLOR _color, DWORD _flags);
};

#endif